Added auth user functionality.
Need to work on it more...