Login and register views full functional for ios7