added username to login functionality