added gem deivse
added smart form to the rails ,login functionality