made login redirect to current page