refactor login from list to view
added proper segue after refactor login