config fixes, redirect for login page added