Merge pull request #3 from kingalex11235/Alex

transformed return values of login functions to tuples