Adds missing documentation of login function.