Finished up Authentication functionality