layout created registeration handling and login handling done