Started implementation of user authentication