Do login
add AJAX authentication
add registration
add login after registration
add style
merge auth#771 and master