fixed login bug and included jquery