added some button functionality for sign in

when the button is submitted it checks parse DB for logical OR between
name(email) and if they are active currently. TODO: change it to logical
AND