Make profile work and use intents for remembering which user is logged in.