bugfix:user login,register
Merge branch 'master' of https://github.com/JasonLiu798/jsonblog

Conflicts:
	app/models/PostImage.php
	public/views/posts/update_post.blade.php