Added statements to retrieve login information