fixing url issues in accounts register