login functionality implemented

still need to display username