adding in login and regestration (still being worked on)