added ajax mixin
fixed bug
finished login form