Fixed extraneous attachment attaching.
Login now redirects to intended page.