Core pr 4

Added better support for different profile2 profiles (ding_staff).
Added better user feedback during login.