Added some user authentication