Struggling with authentication

checkpoint
Form based async auth implemented