Added Trainer and implement redirect after succesfull login