added class for local user

also created a variable in the main activity to hold the user info