User registration fully implemented, logout implemened.