complete log in and rendering data on view