User auth

Basic user authentication added.