made redirects work for everything, moved certain things over to the public controller, flash alert for sign in errors