Further implementation of login
Further work