Added authentication system, update personal info function, cleaned up some code