Hey
@Chuckieinoz welcome to the forum!
1. Set Option Explicit after option Compare Database - it will help with your debugging - in every module (can be set as a default). after setting it - try compiling and you will see:
2. You have not Dim'd the variable uFound or aProfile:
Dim Ufound As Integer
Dim aprofile As Integer
When uFound is defined, the first DCount - for ufound works
3 For aProfile: you need to remove exta spaces :
aprofile = DLookup("prfID", "tbl_user", "uUsername = '" & Me.txt_username & "'")
See if that gets you where you need to be.