Added signin functionality. Users are now able to log themselves in. Logout is also available.