Login guard placed on submit. No login prompt implemented yet.