added base user authentication