Merge pull request #4 from ancagrosan/master

yet another merge
added latest posts get, intermediate check in otherwise
mostly login, register new user and such