Initial implementation of login with backend