Added basic registration and authentification