added login and created a new table view