started working on 402 better error and rails panel

started working on 402 better error and rails panel #143