Fixed manuel login bug