Register and Login views. Move to python2.7 version