added error messages for signup, and added first authentication for apps