Added authentication and implemented the front, register, and sign in page