add login model class adn fix framework path problem