Remove usage of getWidth and getHeight (prototype)
Allow to pass a next attribute to the login method