added auto sign and redirect to homepage on signup