Renamed signUp function to register & logIn function to connection

Also deleted redundant views.