User auth

Adds user authentication