Finished adding login and registration capabilities