-Minor updates

-Uncomment auto redirect to dashboard when user already logged in
-add BASE_URL to layout for javascript usage