add auth check for application
math first