Completed the log in module basically