Added login function, create layout to login user and validate on Database