Support of authentication to Rails server
Added a class to handle all the communications with that server