refaactoring login and address info into the context