commiting login functionality marge