Fixed a bug regarding pushing of private messages in with an object as first parameter, fixed indention, added MissingParameterException when username or password/session isn't given.