Setting login type value in the session