An easy way to create a login in obj-c