Feature/login

Added functions for Register/Sign in/Sign out