finish and test autologin, login, signup, signout, upload and download images.

finish and test autologin, login, signup, signout, upload and download
images.