added action for successful signin. Added cookie for remembering session (left with updating links in views e.t.c)