Fixed duplicate login and return proper information.