added in login enter functionality