fix login functionallity and add web.config to Category folder