added tests, and formatted status messages using :flash
custom routes for auth and feed