redirect after login FINALLY WORKING