updated login activity to print user.toString