fleshed out login and register in the view, fleshed out the login and register responses on the server. The view does not react to the server yet though