redirects on successful login and register pages  works!! time to start on the actual chat part of the site!