Fixed duplicate login