auth stuff making progress
added error page