login and register fully functional
many big changes