solved login bug - next page now loads