basic log in and register feature, continue on email register