Improved login and update events.
Added ProfileController